package com.mbc.rmt.entities;

import java.io.Serializable;
import java.util.Date;

import com.mbc.common.param.CriteriaParams;

@SuppressWarnings("serial")
public class CashReturnDetails extends CriteriaParams implements Serializable {

	private Long slipdetailid;
	private Long slipid;
	private Long paymentid;
	private Long paymentdetailid;
	private String paymentno;
	private Date paymentdate;
	private String invoiceno;
	private String receiptno;
	private String sender;
	private String receiver;
	private String address;
	private Long currencyid;
	private String currencycode;
	private Long currencyrateid;
	private String currencyratecode;
	private Double rate;
	private Double amount;
	private Long definedetailid;
	
	private Double paidamount;
	private Byte p_returnstatus;
	
	public CashReturnDetails() {
		clearProperties();
	}
	
	public void clearProperties() {
		setSlipdetailid(null);
		setSlipid(null);
		setPaymentid(null);
		setPaymentdetailid(null);
		setPaymentno("");
		setPaymentdate(new Date());
		setInvoiceno("");
		setReceiptno("");
		setSender("");
		setReceiver("");
		setAddress("");
		setCurrencyid(null);
		setCurrencycode("");
		setRate(null);
		setAmount(null);
		setDefinedetailid(null);
		setCurrencyrateid(null);
		setCurrencyratecode("");
		paidamount = null;
		p_returnstatus = null;
	}

	public Long getCurrencyrateid() {
		return currencyrateid;
	}

	public void setCurrencyrateid(Long currencyrateid) {
		this.currencyrateid = currencyrateid;
	}

	public String getCurrencyratecode() {
		return currencyratecode;
	}

	public void setCurrencyratecode(String currencyratecode) {
		this.currencyratecode = currencyratecode;
	}

	public Long getSlipdetailid() {
		return slipdetailid;
	}

	public void setSlipdetailid(Long slipdetailid) {
		this.slipdetailid = slipdetailid;
	}

	public Long getSlipid() {
		return slipid;
	}

	public void setSlipid(Long slipid) {
		this.slipid = slipid;
	}

	public Long getPaymentid() {
		return paymentid;
	}

	public void setPaymentid(Long paymentid) {
		this.paymentid = paymentid;
	}

	public String getInvoiceno() {
		return invoiceno;
	}

	public void setInvoiceno(String invoiceno) {
		this.invoiceno = invoiceno;
	}

	public String getReceiptno() {
		return receiptno;
	}

	public void setReceiptno(String receiptno) {
		this.receiptno = receiptno;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Long getCurrencyid() {
		return currencyid;
	}

	public void setCurrencyid(Long currencyid) {
		this.currencyid = currencyid;
	}

	public Double getRate() {
		return rate;
	}

	public void setRate(Double rate) {
		this.rate = rate;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Long getDefinedetailid() {
		return definedetailid;
	}

	public void setDefinedetailid(Long definedetailid) {
		this.definedetailid = definedetailid;
	}

	public String getCurrencycode() {
		return currencycode;
	}

	public void setCurrencycode(String currencycode) {
		this.currencycode = currencycode;
	}

	public Long getPaymentdetailid() {
		return paymentdetailid;
	}

	public void setPaymentdetailid(Long paymentdetailid) {
		this.paymentdetailid = paymentdetailid;
	}

	public String getPaymentno() {
		return paymentno;
	}

	public void setPaymentno(String paymentno) {
		this.paymentno = paymentno;
	}

	public Date getPaymentdate() {
		return paymentdate;
	}

	public void setPaymentdate(Date paymentdate) {
		this.paymentdate = paymentdate;
	}

	public Double getPaidamount() {
		return paidamount;
	}

	public void setPaidamount(Double paidamount) {
		this.paidamount = paidamount;
	}

	public Byte getP_returnstatus() {
		return p_returnstatus;
	}

	public void setP_returnstatus(Byte p_returnstatus) {
		this.p_returnstatus = p_returnstatus;
	}
}
